#pragma once

#include <iostream>
#include <allegro5\allegro.h>
#include "Vector2.h"
#include "GameEntity.h"

class MovableGameEntity : public GameEntity
{

private:
	Vector2 direction;
	Vector2 speed;

public:
	Vector2 GetDirection() {return direction;};
	void SetDirection(Vector2 d);
	void SetDirection(int x, int y);
	void SetDirectionX(int x);
	void SetDirectionY(int y);
	
	Vector2 GetSpeed() {return speed;};
	void SetSpeed(Vector2 s);
	void SetSpeed(float x, float y);
	void SetSpeedX(float x);
	void SetSpeedY(float y);

	void Move();

	bool IsMoving();

};